"""
打招呼
"""
from selenium.webdriver.common.by import By

elements = '//*[@id="resume-page"]/div/div/div[3]/div/div[1]/div/div/div[2]/div/span/div/button'


def say_hello(driver):
    try:
        say_hello_element = driver.find_element(By.XPATH, elements)
        say_hello_element.click()
        print("打招呼成功")
    except Exception as e:
        print(f"打招呼时发生错误: {e}")
        raise e
